package com.justgame.project.service.system.wrapper;

import com.justgame.project.service.system.entity.SysUserRoleMapping;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
*
* 角色和用户关系映射表包装类
*
* @tableName sys_user_role_mapping
* @author Zwb
*/
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="SysUserRoleMapping对象包装类", description="角色和用户关系映射表包装类")
public class SysUserRoleMappingWrapper extends SysUserRoleMapping {

    /**
     * 用户信息
     */
    @ApiModelProperty(value = "用户信息", notes = "SysUserRoleMapping.userInfoId <-> SysUserInfo.id")
    private SysUserInfoWrapper sysUserInfoWrapper;

    /**
     * 角色信息
     */
    @ApiModelProperty(value = "角色信息", notes = "SysUserRoleMapping.roleId <-> SysRoleInfo.id")
    private SysRoleInfoWrapper sysRoleInfoWrapper;
}
